<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <!-- 头部-header -->
        <header>
            <nav>
                <ul>
                    <li>logo</li>
                    <li>首页</li>
                </ul>
            </nav>
        </header>
        <!-- 中间区-main -->
        <main>
             <!-- 轮播 -->
             <li v-for = "(item) in navlist">
                {{item}}
                <img v-bind:src="src" alt="">
            <>
             <img v-bind:src="mainPack.banner" alt="">
             <!-- 内容 -->
        </main>
        <!-- 底部footer -->
        <footer>
    
        </footer> 
    </div>
    
    
    <script src="vue.js"></script>
    <script>
        new Vue({
            el:"#app",
            data:{
                navlist:["首页","新闻","产品"],
                mainPack:{
                    banner:"62.jpg",
                    demo1:{name:"模块一"}
                },
            footers:{phone:"400-1992145"}
            }
        })
    </script>
</body>
<html>

